import Mine from "@/views/Mine";
import Reg from "@/components/Reg";
import Login from "@/components/Login";
import User from "@/components/User";

export default {
    path: "/mine",
    component: Mine,
    children: [
        {
            path: "reg",
            component: Reg
        }, {
            path: "login",
            component: Login
        },
        {
            path: "user",
            component: User
        },
        {
            path: "*",
            redirect: "login"
        }
    ]
}